@import './common.less';

.ctcPage {

  .green {
    color: @green;
  }
  .red {
    color: @red;
  }
  .blue {
    color: @blue;
  }

  /*订单列表 导航样式*/
  .orderListWrap {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 30px;

    .cardNoInput {
      position: fixed;
      top: -1000px;
    }

    a {
      font-size: 12px;

      &.marginRight{
        margin-right: 10px;
      }

      font {
        display: inline-block;
        margin-left: 5px;
        padding:0 3px;
        min-width: 10px;
        height: 16px;
        line-height: 16px;
        border-radius: 16px;
        font-size: 10px;
        background: #EA3333 ;
        color: #fff;
      }
    }

    .title {
      height: 40px;
      line-height: 40px;
      width: 100%;
      background: #202832;

      a {
        padding:0 10px;
        min-width: 180px;
        display: inline-block;
        font-size:14px;
        color: #ccc;
        text-align: center;

        &.userguide{
          float: right;
          padding-right: 20px;
          min-width: auto;
          color:#3782FF;
          display:inline-block;
          line-height:40px;
        }

        img {
          vertical-align: middle;
          padding-right: 10px;

        }

        &.active {
          background: #181A23;
        }

        &.userGuide {
          float: right;
          min-width: 100px;
          color:@blue;
        }
      }
    }

    .confirmPayInfo {
      margin-left:15%;

      p {
        margin-top: 10px;
        color: #fff;
      }
    }


    /*空订单*/
    .emptyOrder {
      background:rgba(24,26,35,1);
      text-align: center;
      padding-top: 50px;
      padding-bottom: 80px;

      h2 {
        line-height: 30px;
        font-size:16px;
        color: rgba(255,255,255,.5);
        font-weight: 300;
      }

      p {
        max-width: 90%;
        line-height: 26px;
        margin: 0 auto;
        color: rgba(255,255,255,.5);
      }
    }

      /*未完成订单列表样式*/
    .unfilledOrdersList {

      .orderNumber {
        padding: 0 20px;
        line-height: 40px;
        height: 40px;
        border-bottom: solid 1px #3b3e46;

        span {
          float: left;
          color: @red;
        }
        .countDown {
          display: block;
          padding-left: 22px;
          background: url('./../images/clockCopy.png') no-repeat left center ;
          float: right;
          color: rgba(255,255,255,.7);
        }
      }

      .content {
        height: 80px;
        border: solid 1px #3b3e46;
        border-top: none;
      }

      .td {
        float: left;
        height: 80px;
        box-sizing: border-box;
      }

      .side {
        line-height: 20px;
        text-align: center;
        border-right: solid 1px #3b3e46;

        span {
          display: block;
          padding-top: 20px;
          font-size: 14px;
        }

        h3 {
          font-size: 14px;
        }
      }

      .numberPrice {
        text-align: left;
        line-height: 80px;
        border-right:solid 1px #3b3e46;

        p{
          display: inline-block;
          margin-left: 23%;
          line-height: 16px;
          vertical-align: middle;
        }

        h3 {
          padding-top: 12px;
          padding-left: 80px;
          line-height: 20px;
          color: @green;
          font-size: 14px;

          &.red {
            color: @red;
          }
        }

        span {
          display: block;
          color: #fff;
        }
      }

      .bank {
        position: relative;
        border-right:solid 1px #3b3e46;

        .list {
          position: absolute;
          left: 0;
          z-index: 1;
          width: 60px;
          height: 80px;
          overflow: hidden;

          p{
            position: absolute;
            top: 50%;
            width: 100%;
            line-height: 27px;
            transform: translateY(-50%);
          }
          a{
            display: block;
            overflow: hidden;
            width: 100%;
            height: 27px;
            line-height: 27px;
            text-align: center;
            &.active{
              background: #202832;
            }
            img {
              display: block;
              margin: 5px auto;
              width: 16px;
            }
          }
        }

        .alipayOrWechat {
          margin-left: 60px;
          height: 80px;
          background: #202832;

          p {
            float: left;

            &.name{
              margin-left: 30px;
              padding-top: 20px;
              width: 60%;

              a {
                line-height: 20px;
                display: block;
                color: #fff;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
              }
            }

            &.img {
              float: left;
              padding-top: 10px;
              padding-right: 10px;
              text-align: center;
              color: #3782FF;

              img {
                display: block;
                width: 40px;
                height: 40px;
                margin:0 auto 5px;
              }
            }
          }
        }

        .creditcCard {
          padding-left: 30px;
          margin-left: 60px;
          padding-top: 8px;
          height: 72px;
          background: #202832;

          li {
            position: relative;
            line-height: 16px;
            color: #fff;
            line-height: 21px;
            width: 100%;
             text-overflow: ellipsis;
             white-space: nowrap;
             overflow: hidden;

            a {
              position: absolute;
              top: 0;
              right: 0;
              display: inline-block;
              margin-right:10px;
              width: 60px;
              height: 16px;
              line-height: 16px;
              text-align: center;
              background: @blue;
              color: #fff;
              border-radius: 3px;
            }
          }
        }
      }

      .operate {
        text-align: center;
        line-height: 80px;

        .green {
          color: #48D046;
        }

        p {
          display: inline-block;
          vertical-align: middle;
          line-height: 20px;
          color: #fff;

          &.confirmPayment{

            min-width:80px; max-width:90%;

            a{
              width:auto; padding:0 8px;
            }
          }
        }
        .left {
          float: left;
          padding: 0 5px;
          width: 50%;
          box-sizing: border-box;
          color: #fff
        }
        .right {
          float: right;
          padding: 0 5px;
          width: 50%;
          box-sizing: border-box;
          color: #fff;
          line-height: 1;
        }
        .btn {
          display: block;
          margin-left: auto;
          margin-right: auto;
          width: 80px;
          padding:0 5px;
          height: 26px;
          line-height: 26px;
          color: #fff;
          background-color: @blue;
          border-radius: 4px;
        }
        .link {
          display: inline-block;
          margin: 12px 5px 0;
          color: #2e7fcf;
          &.red{
            color: #FD3117;
          }
        }
        .marginTop{
          margin-top: 5px;
        }
        .chilrenNoMarginTop {
          line-height: 80px;

          .link {
            margin-top: 0;
          }
        }
      }
    }

    /*已完成订单*/
    .completeOrderList {
      overflow: hidden;
      text-align: left;

      .tr {

        &.thead {
          margin-bottom: 10px;
          background-color: #f0f0f0;

          .td {
            color: rgba(255,255,255,.5);
          }
        }

        .td {
          float: left;
          height: 40px;
          line-height: 40px;
          color: #fff;
          font-size: 12px;

          &:last-child p{
            padding-right: 20px;
          }

          p {
            padding: 0 10px;
          }
        }
      }
    }
  }
}

.modal {
  // 二维码关闭
  .projectileAssembly {
    position: relative;
    width: 360px;
    height: 400px;
    border-radius: 2px;

    .close {
      position: absolute;
      top: -15px;
      right: -15px;
    }

    .content {
      position: absolute;
      top: 50%;
      left: 50%;
      overflow: hidden;
      transform: translate(-50%,-50%);
      text-align: center;

      p{
        padding: 0 0 16px;
        line-height: 26px;
        font-size: 16px;
        color: #fff;
      }

      img {
        max-width: 290px;
        max-height: 290px;
      }
    }
  }

  .confirmPaymentBox {
    position: relative;
    padding: 0 40px;
    width: 620px;
    overflow: hidden;
    border-radius: 8px;

    .close {
      position: absolute;
      right:40px;
      top: 15px;

      img {
        display: block;
        width: 10px;
      }
    }

    .title {
      height:40px;
      line-height: 40px;
      font-size: 14px;
      font-weight: 300;
      color: #fff;
      border-bottom: solid 1px #3b3e46;
    }

    .time {
      padding: 20px 0;
      font-size: 18px;
      color: #fff;
      text-align: center;
    }
    .payment {
      margin-top: 30px;
      text-align: center;
      span {
        display: inline-block;
        padding: 20px 0;
        background: #394555;
        color: #fff;
        min-width: 262px;
        max-width: 50%;
      }
    }

    .content {
      line-height: 24px;
      color: #FD3117;
      font-size: 12px;

      h3 {
        font-size: 14px;
        color: #fff;
      }
      p {
        font {
          font-size: 15px;
          font-weight: bold;
        }
      }
    }
    .subtimBox {
      background: @blue;
      display: block;
      margin: 40px auto;
      width: 220px;
      height: 36px;
      line-height: 36px;
      color: #fff;
      text-align: center;
      border-radius: 2px;
    }
  }
}
